package re56.packet;

public abstract class Packet
{
	// a packet is composed of
	// a MAC Header
	// and a content.
	
	private MACHeader header;
	private byte[] data;
	
	public Packet()
	{
		header = new MACHeader();
	}
	
	public MACHeader getHeader()
	{
		return header;
	}

	public void setData(byte[] data)
	{
		this.data = data;
	}

	public byte[] getData()
	{
		return data;
	}
}
